<template>
	<view class="">
		<scroll-view scroll-y class="scroll" ref="scroll">
			<view></view>
		</scroll-view>
		<life-demo v-if="show"></life-demo>
	</view>
</template>

<script setup>
import { onMounted, ref } from 'vue';

const scroll = ref(null)
const show = ref(true)
onMounted(()=>{
	console.log(scroll.value)
})

setTimeout(()=>{
	show.value = false
}, 2000)
</script>

<style lang='scss' scoped>

</style>
